home *** CD-ROM | disk | FTP | other *** search
- doMenu "New Button"
- put line 1 of info into newName
- put tempBtnNameSC into tname
- set name of last button to tname
- set rect of button tname to line 2 of info
- put (item 1 of line 2 of info)&","&(item 2 of line 2 of info) into locB
- if locB > botright of cd then
- set loc of button tname to "50,50"
- end if
- set style of button tname to line 3 of info
- set autoHilite of button tname to line 4 of info
- set showName of button tname to line 5 of info
- set Icon of button tname to line 6 of info
- set textFont of button tname to line 7 of info
- set textSize of button tname to line 8 of info
- set textAlign of button tname to line 9 of info
- set textStyle of button tname to line 10 of info
- put number of lines in info into y
- put line 11 to y of info into info
- set script of button tname to info
- set name of button tname to newName